-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop support for GHC 9.0 #3875
Drop support for GHC 9.0 #3875
Conversation
@@ -1219,12 +1215,7 @@ uses_th_qq (ms_hspp_opts -> dflags) = | |||
-- Depends on whether it uses unboxed tuples or sums | |||
computeLinkableTypeForDynFlags :: DynFlags -> LinkableType | |||
computeLinkableTypeForDynFlags d | |||
#if defined(GHC_PATCHED_UNBOXED_BYTECODE) || MIN_VERSION_ghc(9,2,0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this flag from the cabal file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, once CI is green, this looks ready to go to me.
tcSplitForAllTyVars :: Type -> ([TyVar], Type) | ||
tcSplitForAllTyVars = | ||
#if MIN_VERSION_ghc(9,2,0) | ||
TcType.tcSplitForAllTyVars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we perhaps delete this simple function definition?
Its initial purpose is gone.
This raises the question again, whether we can carve out an GHC API out of our usage...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I didn't go through doing simplification, which I should...
66eba02
to
afe6f09
Compare
Okay, tests hopefully fixed and I did a bit of simplification in ghcide. |
Fixes #3872.
I removed the macros automatically, so let's see if this builds!